config_check_username_and_password()
{
  if [ ! $ftp_username ]
  then
    read -p "FTP username: " ftp_username
  fi
  if [ ! $ftp_password ]
  then
    stty -echo
    read -p "FTP password: " ftp_password
    stty echo
    echo
  fi
}

load_global_configuration()
{
  config_check_username_and_password
  ftp_config="set ssl:verify-certificate $ftp_verify_ssl_certificate"
}

# Configuration
tmp_dir=/tmp/frt/$$
export_dir=$tmp_dir/project
repo_root=${args[1]}

# Create tmp directory
rm -rf $tmp_dir
mkdir -p $export_dir

